package com.foreknow.dao;

import com.foreknow.entity.Department;
import com.foreknow.entity.User;

import java.util.List;

public interface DepartmentMapper {
    int deleteDeptById(Integer id);

    int insertDept(Department record);


    int updateDept(Department record);


    List<Department> findDept(String query);

    List<Department> heightFindDept(Department department);

    Department findDeptById(Integer id);

    Integer deleteDeptsById(List<Integer> ids);
}